﻿<Window x:Class="SmartSpace.WpfShell.LoginWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="LoginWindow" Height="300" Width="300" SizeToContent="Height" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"
        FocusManager.FocusedElement="{Binding ElementName=_ctlUserId}">
    <Grid>
        <StackPanel>
            <TextBlock Text="帐号:"/>
            <TextBox Name="_ctlUserId"/>
            <TextBlock Text="密码:"/>
            <TextBox/>
            <StackPanel Orientation="Horizontal">
                <Button Name="_ctlBtnSubmit" Content="登录" Click="_ctlBtnSubmit_Click" Margin="5,5,0,5" Padding="3" IsDefault="True"/>
                <Button Content="取消" Margin="5,5,5,5" Padding="3"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
